home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL / glfrontface.z / glfrontface
Encoding:
Text File  |  2001-04-17  |  3.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee - define front- and back-facing polygons
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee( GLenum _m_o_d_e )
  14.  
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _m_o_d_e  Specifies the orientation of front-facing polygons.  GGGGLLLL____CCCCWWWW and
  18.            GGGGLLLL____CCCCCCCCWWWW are accepted.  The initial value is GGGGLLLL____CCCCCCCCWWWW.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      In a scene composed entirely of opaque closed surfaces, back-facing
  22.      polygons are never visible.  Eliminating these invisible polygons has the
  23.      obvious benefit of speeding up the rendering of the image.  To enable and
  24.      disable elimination of back-facing polygons, call ggggllllEEEEnnnnaaaabbbblllleeee and ggggllllDDDDiiiissssaaaabbbblllleeee
  25.      with argument GGGGLLLL____CCCCUUUULLLLLLLL____FFFFAAAACCCCEEEE.
  26.  
  27.      The projection of a polygon to window coordinates is said to have
  28.      clockwise winding if an imaginary object following the path from its
  29.      first vertex, its second vertex, and so on, to its last vertex, and
  30.      finally back to its first vertex, moves in a clockwise direction about
  31.      the interior of the polygon.  The polygon's winding is said to be
  32.      counterclockwise if the imaginary object following the same path moves in
  33.      a counterclockwise direction about the interior of the polygon.
  34.      ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee specifies whether polygons with clockwise winding in window
  35.      coordinates, or counterclockwise winding in window coordinates, are taken
  36.      to be front-facing.  Passing GGGGLLLL____CCCCCCCCWWWW to _m_o_d_e selects counterclockwise
  37.      polygons as front-facing; GGGGLLLL____CCCCWWWW selects clockwise polygons as front-
  38.      facing.  By default, counterclockwise polygons are taken to be front-
  39.      facing.
  40.  
  41. EEEERRRRRRRROOOORRRRSSSS
  42.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _m_o_d_e is not an accepted value.
  43.  
  44.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllFFFFrrrroooonnnnttttFFFFaaaacccceeee is executed between the
  45.      execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
  46.  
  47. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  48.      ggggllllGGGGeeeetttt with argument GGGGLLLL____FFFFRRRROOOONNNNTTTT____FFFFAAAACCCCEEEE
  49.  
  50.  
  51. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  52.      ggggllllCCCCuuuullllllllFFFFaaaacccceeee, ggggllllLLLLiiiigggghhhhttttMMMMooooddddeeeellll
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.